package com.ruoyi.api.domain.recipe;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.recipe.domain.RecipeDish;
import com.ruoyi.recipe.domain.RecipeSlidePic;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 食谱类别对象 recipe_category
 * 
 * @author ruoyi
 * @date 2024-11-10
 */
public class CategoryDishEntity
{
    private static final long serialVersionUID = 1L;

    private List<CategoryEntity> category;

    private List<DishEntity> dish;

    private List<RecipeSlidePic> pic;

    public List<CategoryEntity> getCategory() {
        return category;
    }

    public void setCategory(List<CategoryEntity> category) {
        this.category = category;
    }

    public List<DishEntity> getDish() {
        return dish;
    }

    public void setDish(List<DishEntity> dish) {
        this.dish = dish;
    }

    public List<RecipeSlidePic> getPic() {
        return pic;
    }

    public void setPic(List<RecipeSlidePic> pic) {
        this.pic = pic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("category", getCategory())
                .append("dish", getDish())
                .toString();
    }
}
